# 定义类的属性和方法
class Student(object):
    age = 18
    def foo():
        print('Student foo is runing')
        
    def __init__(self, name):
        self.name = name

s = Student('Bob')
print(s.name)
print(Student.age)
Student.foo()
